<template>
  <div>
    <!-- 教育局页面头部模块 -->
    <TopTime></TopTime>
    <div
      class="banner"
      style="background-image: url('static/images/jkq_banner.png');"
    >
      <div class="title">
        <p>{{ $store.state.jkq.name }}</p>
        <p>{{ $store.state.jkq.eng }}</p>
      </div>
    </div>
    <div class="nav-model">
      <Nav></Nav>
    </div>
  </div>
</template>

<script>
import TopTime from "./top-time.vue";
import Nav from "./nav.vue";
export default {
  components: { TopTime, Nav }
};
</script>

<style scoped lang="scss">
.banner {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  height: 228px;
  display: flex;
  align-items: center;
  img {
    width: 100%;
    display: block;
    user-select: none;
  }
  .title {
    // position: absolute;
    // top: 50%;
    // left: 160px;
    // transform: translateY(-50%);
    width: 1600px;
    margin: 0 auto;
    color: #ffffff;
    p {
      &:first-child {
        font-size: 32px;
        font-family: "SourceHanSansCN", "SourceHanSansCN-Medium";
        line-height: 48px;
        margin-bottom: 10px;
      }
      &:last-child {
        font-size: 12px;
        line-height: 14px;
      }
    }
  }
}
</style>
